package cn.blankchn.www.entity;

import java.io.Serializable;

/**
 * Created by apple on 2018/4/2.
 */
public class HandleResult implements Serializable {

    //序号
    private int num;
    private Part part;
    //平均速度
    private double avgSpeed;

    //平均加速度
    private double avgAcce;
    //平均减速度
    private double avgDown;
    //持续时间
    private int persistentTime;
    //最大加速度
    private double maxAcce;
    //最大减速度
    private double maxDown;
    //加速时间
    private int acceTime;
    //怠速时间
    private int zeroTime;
    //减速时间
    private int downTime;
    //最大速度
    private double maxSpeed;
    //vs
    private double vs;
    //va
    private double va;
    //匀速行驶时间
    private int uniformTime;

    public HandleResult(int num, Part part, double avgSpeed, double avgAcce, double avgDown, int persistentTime,
                        double maxAcce, double maxDown, int acceTime, int zeroTime, int downTime, double maxSpeed,
                        double vs, double va, int uniformTime) {
        this.num = num;
        this.part = part;
        this.avgSpeed = avgSpeed;
        this.avgAcce = avgAcce;
        this.avgDown = avgDown;
        this.persistentTime = persistentTime;
        this.maxAcce = maxAcce;
        this.maxDown = maxDown;
        this.acceTime = acceTime;
        this.zeroTime = zeroTime;
        this.downTime = downTime;
        this.maxSpeed = maxSpeed;
        this.vs = vs;
        this.va = va;
        this.uniformTime = uniformTime;
    }

    public HandleResult() {
    }

    @Override
    public String toString() {
        return "HandleResult{" +
                "num=" + num +
                ", part=" + part +
                ", avgSpeed=" + avgSpeed +
                ", avgAcce=" + avgAcce +
                ", avgDown=" + avgDown +
                ", persistentTime=" + persistentTime +
                ", maxAcce=" + maxAcce +
                ", maxDown=" + maxDown +
                ", acceTime=" + acceTime +
                ", zeroTime=" + zeroTime +
                ", downTime=" + downTime +
                ", maxSpeed=" + maxSpeed +
                ", vs=" + vs +
                ", va=" + va +
                ", uniformTime=" + uniformTime +
                '}';
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public Part getPart() {
        return part;
    }

    public void setPart(Part part) {
        this.part = part;
    }

    public double getAvgSpeed() {
        return avgSpeed;
    }

    public void setAvgSpeed(double avgSpeed) {
        this.avgSpeed = avgSpeed;
    }

    public double getAvgAcce() {
        return avgAcce;
    }

    public void setAvgAcce(double avgAcce) {
        this.avgAcce = avgAcce;
    }

    public double getAvgDown() {
        return avgDown;
    }

    public void setAvgDown(double avgDown) {
        this.avgDown = avgDown;
    }

    public int getPersistentTime() {
        return persistentTime;
    }

    public void setPersistentTime(int persistentTime) {
        this.persistentTime = persistentTime;
    }

    public double getMaxAcce() {
        return maxAcce;
    }

    public void setMaxAcce(double maxAcce) {
        this.maxAcce = maxAcce;
    }

    public double getMaxDown() {
        return maxDown;
    }

    public void setMaxDown(double maxDown) {
        this.maxDown = maxDown;
    }

    public int getAcceTime() {
        return acceTime;
    }

    public void setAcceTime(int acceTime) {
        this.acceTime = acceTime;
    }

    public int getZeroTime() {
        return zeroTime;
    }

    public void setZeroTime(int zeroTime) {
        this.zeroTime = zeroTime;
    }

    public int getDownTime() {
        return downTime;
    }

    public void setDownTime(int downTime) {
        this.downTime = downTime;
    }

    public double getMaxSpeed() {
        return maxSpeed;
    }

    public void setMaxSpeed(double maxSpeed) {
        this.maxSpeed = maxSpeed;
    }

    public double getVs() {
        return vs;
    }

    public void setVs(double vs) {
        this.vs = vs;
    }

    public double getVa() {
        return va;
    }

    public void setVa(double va) {
        this.va = va;
    }

    public int getUniformTime() {
        return uniformTime;
    }

    public void setUniformTime(int uniformTime) {
        this.uniformTime = uniformTime;
    }
}
